package org.springblade.modules.admin.vo.plan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2022/5/4 10:47
 */
@Data
public class PlanSearchDTOV2 {


	@ApiModelProperty("搜索类型1:所有，2：保养：3 维修")
	private Integer searchType;

	@ApiModelProperty("关键字搜索")
	private String keyWord;

	@ApiModelProperty("用户id")
	private List<Long> userIds;

	@ApiModelProperty("用户id")
	private List<Long> realUserIds;

	@ApiModelProperty("组id")
	private List<Long> groupIds;

	@ApiModelProperty("项目id")
	private List<Long> buildingIds;

	@ApiModelProperty("电梯id")
	private List<Long> elevatorIds;

	@ApiModelProperty("工单状态")
	private List<Integer> planStatuss;

	@ApiModelProperty("工单创建开始时间")
	private Date beginCreateTime;

	@ApiModelProperty("工单创建结束时间")
	private Date endCreateTime;


	@ApiModelProperty("工单排期开始时间")
	private String beginPlanDate;

	@ApiModelProperty("工单排期结束时间")
	private String endPlanDate;

	@ApiModelProperty("工单开始时间")
	private Date beginPlanTime;

	@ApiModelProperty("工单结束时间")
	private String endPlanTime;

	@ApiModelProperty("任务类型状态")
	private Integer planTypeStatus;

	@ApiModelProperty("当前页")
	private Integer current = 1;

	@ApiModelProperty("每页的数量")
	private Integer size = 20;

	private Integer approveStatus;

	@ApiModelProperty("停梯状态： 1-正常 2-停梯")
	private Integer isStop;

	@ApiModelProperty("电梯实时停梯状态： 1-正常 2-停梯")
	private Integer elevatorIsStop;

	@ApiModelProperty("工单id")
	private List<Long> planIds;

	private Integer planFrom;


	@ApiModelProperty("指派状态：1-已指派 0-未指派")
	private Integer isUser;

	/**
	 * 紧急程度
	 */
	private Integer emerProcType;

	/**
	 * 工单类型
	 */
	private Integer workOrderType;

	private Integer sourcePlanType;

	/**
	 * 维修故障统计类型id
	 */
	private List<Long> wxNumIds;


	@ApiModelProperty(value = "评分状态 0-未评分，1-已评分")
	private Integer scoreStatus;

	@ApiModelProperty(value = "评分类型1:有效订单，2：无效工单3：无法判断")
	private List<Integer> scoreTypes;

	/**
	 * 筛选-实际执行人数
	 */
	private Integer userCount;

	/**
	 * 年审类型
	 */
	private Integer auditType;

	@ApiModelProperty(value = "是否申请技术支持: 0-否，1-是")
	private Integer applyTsFlag;

	@ApiModelProperty(value = "是否申请平台专家: 0-否，1-是")
	private Integer applyPeFlag;

	@ApiModelProperty(value = "是否增派: 0-否，1-是")
	private Integer addUserFlag;

	@ApiModelProperty(value = "是否转派: 0-否，1-是")
	private Integer transferUserFlag;

	@ApiModelProperty(value = "维修原因1:部件损坏2:安装问题3:维保问题")
	private Integer malfunctionType;

}
